package com.travel.stock.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.travel.stock.entity.StockSkuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品库存
 * 
 * @author lxw
 * @email lxw@gmail.com
 * @date 2024-01-15 09:17:51
 */
@Mapper
public interface StockSkuDao extends BaseMapper<StockSkuEntity> {


    Integer skuHasStock(@Param("spuId") Integer spuId, @Param("selectedAttrs") String selectedAttrs);
}
